throw in one's lot with
see:
cast one's lot